package org.nmgyjt.springboot.beans.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("管理员查询对象")
@Data
public class CsSystemAdminListSelectBean {

    @NotEmpty(message = "手机号码号码不允许为空!")
    @ApiModelProperty(required = true, value = "手机号码", dataType = "string")
    private String phone;

    @ApiModelProperty(required = true, value = "机构 ID", dataType = "string")
    @NotEmpty(message = "机构 ID 不允许为空!")
    private String orgId;

    @ApiModelProperty(required = false, value = "管理员的记录 id", dataType = "string")
    private String id;
}
